/*
 * 应用启动
 */
var express = require("express");
var app = express();

/*
 * 配置
 */
var port = 2222;

app.all("/*", express.static(__dirname+"/public"))

app.listen(port);
console.log("HTTP服务开启在" + port + "端口上。");